\hypertarget{_timer_8h}{\section{libemb/inc/\+Timer.h 文件参考}
\label{_timer_8h}\index{libemb/inc/\+Timer.\+h@{libemb/inc/\+Timer.\+h}}
}
{\ttfamily \#include \char`\"{}Rtc\+Facade.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Event.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Thread.\+h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Mutex.\+h\char`\"{}}\\*
{\ttfamily \#include $<$list$>$}\\*
\subsection*{类}
\begin{DoxyCompactItemize}
\item 
class \hyperlink{class_timer}{Timer}
\begin{DoxyCompactList}\small\item\em 定时器基类(基于事件消息的定时器) \end{DoxyCompactList}\item 
class \hyperlink{class_periodic_timer}{Periodic\+Timer}
\begin{DoxyCompactList}\small\item\em 周期定时器类 \end{DoxyCompactList}\item 
class \hyperlink{class_one_shot_timer}{One\+Shot\+Timer}
\begin{DoxyCompactList}\small\item\em 一次性定时器类 \end{DoxyCompactList}\item 
class \hyperlink{class_timer_manager}{Timer\+Manager}
\begin{DoxyCompactList}\small\item\em 定时器管理类 \end{DoxyCompactList}\item 
class \hyperlink{class_c_timer_protocol}{C\+Timer\+Protocol}
\begin{DoxyCompactList}\small\item\em C\+Timer定时回调接口 \end{DoxyCompactList}\item 
class \hyperlink{class_c_timer}{C\+Timer}
\begin{DoxyCompactList}\small\item\em 独占定时器类(基于\+C回调函数的定时器,每个定时器独占一个线程) \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{宏定义}
\begin{DoxyCompactItemize}
\item 
\hypertarget{_timer_8h_abf553156083a5221eb0c6a08c9fa7ebe}{\#define {\bfseries ctimer\+\_\+selector}(S\+E\+L\+E\+C\+T\+O\+R)~(S\+E\+L\+\_\+onctimer)(\&S\+E\+L\+E\+C\+T\+O\+R)}\label{_timer_8h_abf553156083a5221eb0c6a08c9fa7ebe}

\end{DoxyCompactItemize}
\subsection*{类型定义}
\begin{DoxyCompactItemize}
\item 
\hypertarget{_timer_8h_ae16d9e020d027937c9bea509a8527885}{typedef void(C\+Timer\+Protocol\+::$\ast$ {\bfseries S\+E\+L\+\_\+onctimer} )()}\label{_timer_8h_ae16d9e020d027937c9bea509a8527885}

\end{DoxyCompactItemize}
\subsection*{枚举}
\begin{DoxyCompactItemize}
\item 
\hypertarget{_timer_8h_a532756dd2bffbfa9591cbccbd8aacb34}{enum {\bfseries T\+I\+M\+E\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+E} \{ {\bfseries T\+I\+M\+E\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+P\+E\+R\+I\+O\+D\+I\+C}, 
{\bfseries T\+I\+M\+E\+R\+\_\+\+T\+Y\+P\+E\+\_\+\+O\+N\+E\+S\+H\+O\+T}
 \}}\label{_timer_8h_a532756dd2bffbfa9591cbccbd8aacb34}

\item 
\hypertarget{_timer_8h_a5d0afe9fed86d4dfc7832b271c5868cd}{enum {\bfseries T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+E} \{ \\*
{\bfseries T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+M\+I\+L\+L\+I\+S\+E\+C\+O\+N\+D}, 
{\bfseries T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+S\+E\+C\+O\+N\+D}, 
{\bfseries T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+M\+I\+N\+U\+T\+E}, 
{\bfseries T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+H\+O\+U\+R}, 
\\*
{\bfseries T\+I\+M\+E\+\_\+\+U\+N\+I\+T\+\_\+\+D\+A\+Y}
 \}}\label{_timer_8h_a5d0afe9fed86d4dfc7832b271c5868cd}

\end{DoxyCompactItemize}
